package com.base.logistics.jdl.bean.print;

import java.io.Serializable;

/**
 * <pre>
 * 标准模板数据
 * </pre>
 * @since 2021-02-19
 */
public class StandardTemplateDTO  implements Serializable {

    /**
     * 标准模板id
     */
    private Integer standardTemplateId;

    /**
     * 标准模板名称
     */
    private String standardTemplateName;

    /**
     * 标准模板url
     */
    private String standardTemplateUrl;

    /**
     * 面单类型：1 快递标准面单 ,2 快递三联面
     */
    private String standardWaybillType;

    public StandardTemplateDTO() {
    }

    public Integer getStandardTemplateId() {
        return this.standardTemplateId;
    }

    public String getStandardTemplateName() {
        return this.standardTemplateName;
    }

    public String getStandardTemplateUrl() {
        return this.standardTemplateUrl;
    }

    public String getStandardWaybillType() {
        return this.standardWaybillType;
    }

    public void setStandardTemplateId(Integer standardTemplateId) {
        this.standardTemplateId = standardTemplateId;
    }

    public void setStandardTemplateName(String standardTemplateName) {
        this.standardTemplateName = standardTemplateName;
    }

    public void setStandardTemplateUrl(String standardTemplateUrl) {
        this.standardTemplateUrl = standardTemplateUrl;
    }

    public void setStandardWaybillType(String standardWaybillType) {
        this.standardWaybillType = standardWaybillType;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof StandardTemplateDTO)) return false;
        final StandardTemplateDTO other = (StandardTemplateDTO) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$standardTemplateId = this.getStandardTemplateId();
        final Object other$standardTemplateId = other.getStandardTemplateId();
        if (this$standardTemplateId == null ? other$standardTemplateId != null : !this$standardTemplateId.equals(other$standardTemplateId))
            return false;
        final Object this$standardTemplateName = this.getStandardTemplateName();
        final Object other$standardTemplateName = other.getStandardTemplateName();
        if (this$standardTemplateName == null ? other$standardTemplateName != null : !this$standardTemplateName.equals(other$standardTemplateName))
            return false;
        final Object this$standardTemplateUrl = this.getStandardTemplateUrl();
        final Object other$standardTemplateUrl = other.getStandardTemplateUrl();
        if (this$standardTemplateUrl == null ? other$standardTemplateUrl != null : !this$standardTemplateUrl.equals(other$standardTemplateUrl))
            return false;
        final Object this$standardWaybillType = this.getStandardWaybillType();
        final Object other$standardWaybillType = other.getStandardWaybillType();
        if (this$standardWaybillType == null ? other$standardWaybillType != null : !this$standardWaybillType.equals(other$standardWaybillType))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof StandardTemplateDTO;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $standardTemplateId = this.getStandardTemplateId();
        result = result * PRIME + ($standardTemplateId == null ? 43 : $standardTemplateId.hashCode());
        final Object $standardTemplateName = this.getStandardTemplateName();
        result = result * PRIME + ($standardTemplateName == null ? 43 : $standardTemplateName.hashCode());
        final Object $standardTemplateUrl = this.getStandardTemplateUrl();
        result = result * PRIME + ($standardTemplateUrl == null ? 43 : $standardTemplateUrl.hashCode());
        final Object $standardWaybillType = this.getStandardWaybillType();
        result = result * PRIME + ($standardWaybillType == null ? 43 : $standardWaybillType.hashCode());
        return result;
    }

    public String toString() {
        return "StandardTemplateDTO(standardTemplateId=" + this.getStandardTemplateId() + ", standardTemplateName=" + this.getStandardTemplateName() + ", standardTemplateUrl=" + this.getStandardTemplateUrl() + ", standardWaybillType=" + this.getStandardWaybillType() + ")";
    }
}
